/**
 * 请求列表接口
 */
export interface FoodsParams {
    page?: number,
    pageSize?: number
}

/**
 * 食物列表返回数据
 */
export interface FoodsList {
	id: number;
	companyId?: number;
	name: string;
	unit: string;
	supplierId: number|undefined;
	wholePrice?: string;
	sellPrice?: string;
	purchasePrice?: string;
	updateTime?: string;
	supplierName?: string;
}

export interface FoodsData {
	counts: number;
	pageSize: number;
	list: FoodsList[];
}

/**
 * 供应商
 */
export interface SuppliersList {
	id: number;
	companyId: number;
	name: string;
	linkMan: string;
	mobile: string;
	foodCounts: number;
}

export interface SuppliersData {
	counts: number;
	pageSize: number;
	list: SuppliersList[];
}